AMOTION_EVENT_BUTTON_PRIMARY

Constants that identify buttons that are associated with motion events. Refer to the documentation on the MotionEvent class for descriptions of each button.

Values

ValueMeaning
AMOTION_EVENT_BUTTON_PRIMARY1 << 0

primary

AMOTION_EVENT_BUTTON_SECONDARY1 << 1

secondary

AMOTION_EVENT_BUTTON_TERTIARY1 << 2

tertiary

AMOTION_EVENT_BUTTON_BACK1 << 3

back

AMOTION_EVENT_BUTTON_FORWARD1 << 4

forward

AMOTION_EVENT_BUTTON_STYLUS_PRIMARY1 << 5
AMOTION_EVENT_BUTTON_STYLUS_SECONDARY1 << 6

Meta